#include "hal_sig.h"

unsigned int sig_get(SigGet sig)
{
	unsigned int count = 0;
	switch((unsigned char)sig)
	{
		case CUT_SIG:
			count = cut_get();
		break;
		case PRESS_SIG:
			count = press_get();
		break;
		case ENCODE_SIG:
			count = encode_get();
		break;
		case REVERSE_SIG:
			count = reverse_get();
		break;
		case POWER_SIG:
			count = power_check();
		break;
		default: break;
	}
	
	return count;
}
